home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K DNS 1.xpl < prev    next >
Text File  |  2001-04-13  |  1KB  |  49 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\DNS"
  5. "NAME"="Windows 2K/XP Dynamic DNS Updates"
  6. "VERSION"="1.05"
  7. "OSVERSION"="0001011"
  8. "LANGUAGE"="VBScript"
  9. "WARNING"="1"
  10. "TEXT 1"="Enable Dynamic DNS updates"
  11. "DESCRIPTION 1"="By default, Windows tries to register it's Host ) record with the DNS server. This will work with Dynamic DNS server but not with legacy (reads: old) DNS Servers."
  12. "DESCRIPTION 2"="If you wish to stop Windows trying to update the name, disable this option."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17. "COMMENT 2"="Thanks to CptSiskoX for his help!"
  18.  
  19.  
  20.  
  21.  
  22.  
  23. sV1="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DisableDynamicUpdate"
  24.  
  25. Sub Plugin_Initialize 
  26.     i=RegReadValue(sV1)
  27.     if i=0 or IsEmpty(i) then SetUiElement 1,true 
  28. End Sub
  29.  
  30. Sub Plugin_CheckData(ElementIndex)
  31. End Sub
  32.  
  33. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  If GetUIElement(1)=true then
  35.     Call RegWriteValue(sv1,"0",2)
  36.  else
  37.     Call RegWriteValue(sv1,"1",2)
  38.  end if
  39.  
  40.  Restart
  41. End Sub
  42.  
  43.  
  44. Sub Plugin_Terminate 
  45. End Sub
  46.  
  47.  
  48.  
  49.